package com.gw.smscheck.entity.sys;

public class BaseEntity {
   
    private int from;
    private int page = 1;// 当前页
    private int rows = 10;// 每页数目

    public int getFrom() {
        this.from=(page-1)*rows;
        return from;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }
}
